FROM openjdk:8u171
VOLUME /tmp
ARG JAR_FILE
ADD ./target/eureka-server.jar eureka-server.jar
EXPOSE 8761
ENTRYPOINT ["java","-jar","/eureka-server.jar"]